import { createApp } from "vue";
import App from "./App.vue";
import { Tab, Tabs, Icon, Lazyload, Image as VanImage } from "vant";
// 2. 引入组件样式
import "vant/lib/index.css";
const app = createApp(App);

app.use(Tab);
app.use(Tabs);
app.use(Icon);
app.use(VanImage);

// 注册时可以配置额外的选项
app.use(Lazyload, {
  lazyComponent: true,
});

app.mount("#app");
